<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="java.util.HashMap" %>
<% HashMap postData =(HashMap)request.getAttribute("postData"); %>
<div id="demiBoardRead">
	<div class="postName">
		<h1><%=(String)postData.get("cPostName")%></h1>
	</div>
	<div class="postData">
		<%=(String)postData.get("cPostData")%>
	</div>
	<div>
	</div>
	<input type="button" value="답글달기" onclick="goPostReply();"/>
	
	<input type="button" value="목록으로" onclick="ajaxSend('/boardPage',aMainBodyRight,'post','demiBoardReadForm','mainBodyRight');"/>
	<form id="demiBoardReadForm">
		<input type="hidden"  name="reqFunc" class ="reqFunc" value="showBoard"/>
		<%@include file="./demiBoardNeed.jsp" %>
	</form>
	
	
</div>
<script type="text/javascript">
	function goPostReply(){
		jQuery("#demiBoardReadForm .reqFunc").attr("value","goPostReply");
		ajaxSend('/boardPage',aMainBodyRight,'post','demiBoardReadForm','mainBodyRight');
		
	}
</script>
	